Now with console notification, thanks to Paul Copsey :)
This is a beta version of my ARexx SMTP Daemon for AmiTCP. It is called by inetd whenever it receives an incoming call to port 25.
GetMail handles all of the dialogue between your machine and the server. Incoming mail is passed to a temporary file in T: which is then passed to rmail for local delivery. GetMail does not acknowledge receipt of the mail item to the server until rmail has successfully delivered the mail to the destination mailbox. Additionally, the temporary file will not be deleted unless rmail reports a successful local delivery of the file.
All mail transactions are logged to a file. The filename is determined by GetMail but the path to the logfile can be set in the config file UULib:SMTP.conf. The default is T:
Basic rejection of unwanted mail is enabled and works on the sender's address. No wildcards are as yet allowed. There must be an entry in UULib:SMTP.conf for each person whose mail you wish to reject, consisting of their email address enclosed in brackets '<' and '>'.
Mail from anyone included in that list is bounced back to them by the server for the reason 'User not known' and never actually downloaded to your machine.
The config file UULib:SMTP.conf MUST also contain entries for each user mailbox and alias that exists on your machine. If mail is sent to a user or mailbox whose name is not in that list then again it WILL be bounced to the sender without ever being downloaded to your machine.
There are a number of default entries in the file, e.g. postmaster and mailer-daemon which must not be removed. All entries are case insensitive, therefore an entry for 'phil' will match mail addressed to phil, Phil, PHIL and pHiL etc.
Getmail should handle mail with long header lines although as I haven't received any this is so far untested.
Currently, there is no notification of incoming mail, other than a connection to port 25 being reported in the AmiTCP log window, but that is on the "to do" list.
To install Getmail you need to do the following.
smtp stream tcp dos bin - rx AmiTCP:bin/getmail
In addition, GetMail requires the following:
Please mail any bug reports, comments etc. to Philip Stokes
Thanks,
Phil
Wirenet
- The UK's first Amiga-only internet access provider